package com.hhss.qishi.controller.sys;

import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * 后管首页
 * @author hhss
 * @date 2018年7月19日
 */
@RestController
@RequestMapping
@PreAuthorize("hasPermission('user', 'read') or hasRole('ROLE_USER')")
public class ManagerController {
	
	@RequestMapping(value = "/main")
	public ModelAndView main() {
		return new ModelAndView("main");
	}
}